package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 收藏表查询对象
 */
public class FavoriteQuery extends BaseQuery {

    public Date startAddTime; //起始添加时间
    public Date endAddTime; //结束添加时间
    public Date startUpdateTime; //起始更新时间
    public Date endUpdateTime; //结束更新时间
    public Boolean enabled; //是否可用
    public Integer productId;//商品ID
    public Integer userId;//用户ID

    public FavoriteQuery() {
    }

    public FavoriteQuery(Boolean enabled) {
        this.enabled = enabled;
    }

    public FavoriteQuery(Integer productId, Integer userId, Boolean enabled) {
        this.productId = productId;
        this.userId = userId;
        this.enabled = enabled;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public Date getStartUpdateTime() {
        return startUpdateTime;
    }

    public void setStartUpdateTime(Date startUpdateTime) {
        this.startUpdateTime = startUpdateTime;
    }

    public Date getEndUpdateTime() {
        return endUpdateTime;
    }

    public void setEndUpdateTime(Date endUpdateTime) {
        this.endUpdateTime = endUpdateTime;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}